// Copyright (c) 2016, SolidCP
// SolidCP is distributed under the Creative Commons Share-alike license
// 
// SolidCP is a fork of WebsitePanel:
// Copyright (c) 2015, Outercurve Foundation.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification,
// are permitted provided that the following conditions are met:
//
// - Redistributions of source code must  retain  the  above copyright notice, this
//   list of conditions and the following disclaimer.
//
// - Redistributions in binary form  must  reproduce the  above  copyright  notice,
//   this list of conditions  and  the  following  disclaimer in  the documentation
//   and/or other materials provided with the distribution.
//
// - Neither  the  name  of  the  Outercurve Foundation  nor   the   names  of  its
//   contributors may be used to endorse or  promote  products  derived  from  this
//   software without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,  BUT  NOT  LIMITED TO, THE IMPLIED
// WARRANTIES  OF  MERCHANTABILITY   AND  FITNESS  FOR  A  PARTICULAR  PURPOSE  ARE
// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
// ANY DIRECT, INDIRECT, INCIDENTAL,  SPECIAL,  EXEMPLARY, OR CONSEQUENTIAL DAMAGES
// (INCLUDING, BUT NOT LIMITED TO,  PROCUREMENT  OF  SUBSTITUTE  GOODS OR SERVICES;
// LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)  HOWEVER  CAUSED AND ON
// ANY  THEORY  OF  LIABILITY,  WHETHER  IN  CONTRACT,  STRICT  LIABILITY,  OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE)  ARISING  IN  ANY WAY OUT OF THE USE OF THIS
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//     Runtime Version:2.0.50727.1433
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

// 
// This source code was auto-generated by wsdl, Version=2.0.50727.42.
// 
using SolidCP.Providers.Common;
using SolidCP.Providers.ResultObjects;

namespace SolidCP.Providers.HostedSolution {
    using System.Diagnostics;
    using System.Web.Services;
    using System.ComponentModel;
    using System.Web.Services.Protocols;
    using System;
    using System.Xml.Serialization;
    
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Web.Services.WebServiceBindingAttribute(Name="BlackBerrySoap", Namespace="http://smbsaas/solidcp/server/")]
    public partial class BlackBerry : Microsoft.Web.Services3.WebServicesClientProtocol {
        
        public ServiceProviderSettingsSoapHeader ServiceProviderSettingsSoapHeaderValue;
        
        private System.Threading.SendOrPostCallback CreateBlackBerryUserOperationCompleted;
        
        private System.Threading.SendOrPostCallback DeleteBlackBerryUserOperationCompleted;
        
        private System.Threading.SendOrPostCallback GetBlackBerryUserStatsOperationCompleted;
        
        private System.Threading.SendOrPostCallback SetActivationPasswordWithExpirationTimeOperationCompleted;
        
        private System.Threading.SendOrPostCallback SetEmailActivationPasswordOperationCompleted;
        
        private System.Threading.SendOrPostCallback DeleteDataFromBlackBerryDeviceOperationCompleted;
        
        /// <remarks/>
        public BlackBerry() {
            this.Url = "http://exchange-dev:9003/BlackBerry.asmx";
        }
        
        /// <remarks/>
        public event CreateBlackBerryUserCompletedEventHandler CreateBlackBerryUserCompleted;
        
        /// <remarks/>
        public event DeleteBlackBerryUserCompletedEventHandler DeleteBlackBerryUserCompleted;
        
        /// <remarks/>
        public event GetBlackBerryUserStatsCompletedEventHandler GetBlackBerryUserStatsCompleted;
        
        /// <remarks/>
        public event SetActivationPasswordWithExpirationTimeCompletedEventHandler SetActivationPasswordWithExpirationTimeCompleted;
        
        /// <remarks/>
        public event SetEmailActivationPasswordCompletedEventHandler SetEmailActivationPasswordCompleted;
        
        /// <remarks/>
        public event DeleteDataFromBlackBerryDeviceCompletedEventHandler DeleteDataFromBlackBerryDeviceCompleted;
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/solidcp/server/CreateBlackBerryUser", RequestNamespace="http://smbsaas/solidcp/server/", ResponseNamespace="http://smbsaas/solidcp/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public ResultObject CreateBlackBerryUser(string primaryEmailAddress) {
            object[] results = this.Invoke("CreateBlackBerryUser", new object[] {
                        primaryEmailAddress});
            return ((ResultObject)(results[0]));
        }
        
        /// <remarks/>
        public System.IAsyncResult BeginCreateBlackBerryUser(string primaryEmailAddress, System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("CreateBlackBerryUser", new object[] {
                        primaryEmailAddress}, callback, asyncState);
        }
        
        /// <remarks/>
        public ResultObject EndCreateBlackBerryUser(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((ResultObject)(results[0]));
        }
        
        /// <remarks/>
        public void CreateBlackBerryUserAsync(string primaryEmailAddress) {
            this.CreateBlackBerryUserAsync(primaryEmailAddress, null);
        }
        
        /// <remarks/>
        public void CreateBlackBerryUserAsync(string primaryEmailAddress, object userState) {
            if ((this.CreateBlackBerryUserOperationCompleted == null)) {
                this.CreateBlackBerryUserOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCreateBlackBerryUserOperationCompleted);
            }
            this.InvokeAsync("CreateBlackBerryUser", new object[] {
                        primaryEmailAddress}, this.CreateBlackBerryUserOperationCompleted, userState);
        }
        
        private void OnCreateBlackBerryUserOperationCompleted(object arg) {
            if ((this.CreateBlackBerryUserCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.CreateBlackBerryUserCompleted(this, new CreateBlackBerryUserCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/solidcp/server/DeleteBlackBerryUser", RequestNamespace="http://smbsaas/solidcp/server/", ResponseNamespace="http://smbsaas/solidcp/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public ResultObject DeleteBlackBerryUser(string primaryEmailAddress) {
            object[] results = this.Invoke("DeleteBlackBerryUser", new object[] {
                        primaryEmailAddress});
            return ((ResultObject)(results[0]));
        }
        
        /// <remarks/>
        public System.IAsyncResult BeginDeleteBlackBerryUser(string primaryEmailAddress, System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("DeleteBlackBerryUser", new object[] {
                        primaryEmailAddress}, callback, asyncState);
        }
        
        /// <remarks/>
        public ResultObject EndDeleteBlackBerryUser(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((ResultObject)(results[0]));
        }
        
        /// <remarks/>
        public void DeleteBlackBerryUserAsync(string primaryEmailAddress) {
            this.DeleteBlackBerryUserAsync(primaryEmailAddress, null);
        }
        
        /// <remarks/>
        public void DeleteBlackBerryUserAsync(string primaryEmailAddress, object userState) {
            if ((this.DeleteBlackBerryUserOperationCompleted == null)) {
                this.DeleteBlackBerryUserOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteBlackBerryUserOperationCompleted);
            }
            this.InvokeAsync("DeleteBlackBerryUser", new object[] {
                        primaryEmailAddress}, this.DeleteBlackBerryUserOperationCompleted, userState);
        }
        
        private void OnDeleteBlackBerryUserOperationCompleted(object arg) {
            if ((this.DeleteBlackBerryUserCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.DeleteBlackBerryUserCompleted(this, new DeleteBlackBerryUserCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/solidcp/server/GetBlackBerryUserStats", RequestNamespace="http://smbsaas/solidcp/server/", ResponseNamespace="http://smbsaas/solidcp/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public BlackBerryUserStatsResult GetBlackBerryUserStats(string primaryEmailAddress) {
            object[] results = this.Invoke("GetBlackBerryUserStats", new object[] {
                        primaryEmailAddress});
            return ((BlackBerryUserStatsResult)(results[0]));
        }
        
        /// <remarks/>
        public System.IAsyncResult BeginGetBlackBerryUserStats(string primaryEmailAddress, System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("GetBlackBerryUserStats", new object[] {
                        primaryEmailAddress}, callback, asyncState);
        }
        
        /// <remarks/>
        public BlackBerryUserStatsResult EndGetBlackBerryUserStats(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((BlackBerryUserStatsResult)(results[0]));
        }
        
        /// <remarks/>
        public void GetBlackBerryUserStatsAsync(string primaryEmailAddress) {
            this.GetBlackBerryUserStatsAsync(primaryEmailAddress, null);
        }
        
        /// <remarks/>
        public void GetBlackBerryUserStatsAsync(string primaryEmailAddress, object userState) {
            if ((this.GetBlackBerryUserStatsOperationCompleted == null)) {
                this.GetBlackBerryUserStatsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetBlackBerryUserStatsOperationCompleted);
            }
            this.InvokeAsync("GetBlackBerryUserStats", new object[] {
                        primaryEmailAddress}, this.GetBlackBerryUserStatsOperationCompleted, userState);
        }
        
        private void OnGetBlackBerryUserStatsOperationCompleted(object arg) {
            if ((this.GetBlackBerryUserStatsCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.GetBlackBerryUserStatsCompleted(this, new GetBlackBerryUserStatsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/solidcp/server/SetActivationPasswordWithExpirationTime", RequestNamespace="http://smbsaas/solidcp/server/", ResponseNamespace="http://smbsaas/solidcp/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public ResultObject SetActivationPasswordWithExpirationTime(string primaryEmailAddress, string password, int time) {
            object[] results = this.Invoke("SetActivationPasswordWithExpirationTime", new object[] {
                        primaryEmailAddress,
                        password,
                        time});
            return ((ResultObject)(results[0]));
        }
        
        /// <remarks/>
        public System.IAsyncResult BeginSetActivationPasswordWithExpirationTime(string primaryEmailAddress, string password, int time, System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("SetActivationPasswordWithExpirationTime", new object[] {
                        primaryEmailAddress,
                        password,
                        time}, callback, asyncState);
        }
        
        /// <remarks/>
        public ResultObject EndSetActivationPasswordWithExpirationTime(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((ResultObject)(results[0]));
        }
        
        /// <remarks/>
        public void SetActivationPasswordWithExpirationTimeAsync(string primaryEmailAddress, string password, int time) {
            this.SetActivationPasswordWithExpirationTimeAsync(primaryEmailAddress, password, time, null);
        }
        
        /// <remarks/>
        public void SetActivationPasswordWithExpirationTimeAsync(string primaryEmailAddress, string password, int time, object userState) {
            if ((this.SetActivationPasswordWithExpirationTimeOperationCompleted == null)) {
                this.SetActivationPasswordWithExpirationTimeOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSetActivationPasswordWithExpirationTimeOperationCompleted);
            }
            this.InvokeAsync("SetActivationPasswordWithExpirationTime", new object[] {
                        primaryEmailAddress,
                        password,
                        time}, this.SetActivationPasswordWithExpirationTimeOperationCompleted, userState);
        }
        
        private void OnSetActivationPasswordWithExpirationTimeOperationCompleted(object arg) {
            if ((this.SetActivationPasswordWithExpirationTimeCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.SetActivationPasswordWithExpirationTimeCompleted(this, new SetActivationPasswordWithExpirationTimeCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/solidcp/server/SetEmailActivationPassword", RequestNamespace="http://smbsaas/solidcp/server/", ResponseNamespace="http://smbsaas/solidcp/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public ResultObject SetEmailActivationPassword(string primaryEmailAddress) {
            object[] results = this.Invoke("SetEmailActivationPassword", new object[] {
                        primaryEmailAddress});
            return ((ResultObject)(results[0]));
        }
        
        /// <remarks/>
        public System.IAsyncResult BeginSetEmailActivationPassword(string primaryEmailAddress, System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("SetEmailActivationPassword", new object[] {
                        primaryEmailAddress}, callback, asyncState);
        }
        
        /// <remarks/>
        public ResultObject EndSetEmailActivationPassword(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((ResultObject)(results[0]));
        }
        
        /// <remarks/>
        public void SetEmailActivationPasswordAsync(string primaryEmailAddress) {
            this.SetEmailActivationPasswordAsync(primaryEmailAddress, null);
        }
        
        /// <remarks/>
        public void SetEmailActivationPasswordAsync(string primaryEmailAddress, object userState) {
            if ((this.SetEmailActivationPasswordOperationCompleted == null)) {
                this.SetEmailActivationPasswordOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSetEmailActivationPasswordOperationCompleted);
            }
            this.InvokeAsync("SetEmailActivationPassword", new object[] {
                        primaryEmailAddress}, this.SetEmailActivationPasswordOperationCompleted, userState);
        }
        
        private void OnSetEmailActivationPasswordOperationCompleted(object arg) {
            if ((this.SetEmailActivationPasswordCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.SetEmailActivationPasswordCompleted(this, new SetEmailActivationPasswordCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/solidcp/server/DeleteDataFromBlackBerryDevice", RequestNamespace="http://smbsaas/solidcp/server/", ResponseNamespace="http://smbsaas/solidcp/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public ResultObject DeleteDataFromBlackBerryDevice(string primaryEmailAddress) {
            object[] results = this.Invoke("DeleteDataFromBlackBerryDevice", new object[] {
                        primaryEmailAddress});
            return ((ResultObject)(results[0]));
        }
        
        /// <remarks/>
        public System.IAsyncResult BeginDeleteDataFromBlackBerryDevice(string primaryEmailAddress, System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("DeleteDataFromBlackBerryDevice", new object[] {
                        primaryEmailAddress}, callback, asyncState);
        }
        
        /// <remarks/>
        public ResultObject EndDeleteDataFromBlackBerryDevice(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((ResultObject)(results[0]));
        }
        
        /// <remarks/>
        public void DeleteDataFromBlackBerryDeviceAsync(string primaryEmailAddress) {
            this.DeleteDataFromBlackBerryDeviceAsync(primaryEmailAddress, null);
        }
        
        /// <remarks/>
        public void DeleteDataFromBlackBerryDeviceAsync(string primaryEmailAddress, object userState) {
            if ((this.DeleteDataFromBlackBerryDeviceOperationCompleted == null)) {
                this.DeleteDataFromBlackBerryDeviceOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteDataFromBlackBerryDeviceOperationCompleted);
            }
            this.InvokeAsync("DeleteDataFromBlackBerryDevice", new object[] {
                        primaryEmailAddress}, this.DeleteDataFromBlackBerryDeviceOperationCompleted, userState);
        }
        
        private void OnDeleteDataFromBlackBerryDeviceOperationCompleted(object arg) {
            if ((this.DeleteDataFromBlackBerryDeviceCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.DeleteDataFromBlackBerryDeviceCompleted(this, new DeleteDataFromBlackBerryDeviceCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        public new void CancelAsync(object userState) {
            base.CancelAsync(userState);
        }
    }
    
    
    
    
    
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
    public delegate void CreateBlackBerryUserCompletedEventHandler(object sender, CreateBlackBerryUserCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class CreateBlackBerryUserCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal CreateBlackBerryUserCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public ResultObject Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((ResultObject)(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
    public delegate void DeleteBlackBerryUserCompletedEventHandler(object sender, DeleteBlackBerryUserCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class DeleteBlackBerryUserCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal DeleteBlackBerryUserCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public ResultObject Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((ResultObject)(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
    public delegate void GetBlackBerryUserStatsCompletedEventHandler(object sender, GetBlackBerryUserStatsCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class GetBlackBerryUserStatsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal GetBlackBerryUserStatsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public BlackBerryUserStatsResult Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((BlackBerryUserStatsResult)(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
    public delegate void SetActivationPasswordWithExpirationTimeCompletedEventHandler(object sender, SetActivationPasswordWithExpirationTimeCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class SetActivationPasswordWithExpirationTimeCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal SetActivationPasswordWithExpirationTimeCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public ResultObject Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((ResultObject)(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
    public delegate void SetEmailActivationPasswordCompletedEventHandler(object sender, SetEmailActivationPasswordCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class SetEmailActivationPasswordCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal SetEmailActivationPasswordCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public ResultObject Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((ResultObject)(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
    public delegate void DeleteDataFromBlackBerryDeviceCompletedEventHandler(object sender, DeleteDataFromBlackBerryDeviceCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class DeleteDataFromBlackBerryDeviceCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal DeleteDataFromBlackBerryDeviceCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public ResultObject Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((ResultObject)(this.results[0]));
            }
        }
    }
}
